const search={
    namespaced:true,
    state:{
        loginLogSearchResult:null,
        opeLogSearchResult:null,
    },
    mutations:{
        SAVE_LOGINLOG_SEARCH_RESULT(state,loginLogSearchResult){
            state.loginLogSearchResult=loginLogSearchResult
        },
        SAVE_OPELOG_SEARCH_RESULT(state,opeLogSearchResult){
            state.opeLogSearchResult=opeLogSearchResult
        }
    },
    actions:{
        saveLoginLogSearchResult({commit},loginLogSearchResult){
            commit('SAVE_LOGINLOG_SEARCH_RESULT',loginLogSearchResult)
        },
        saveOpeLogSearchResult({commit},opeLogSearchResult){
            commit('SAVE_OPELOG_SEARCH_RESULT',opeLogSearchResult)
        }
    },
    getters:{
        loginLogSearchResult:state=>state.loginLogSearchResult,
        opeLogSearchResult:state=>state.opeLogSearchResult
    }

}
export default search